package com.hyfrogx.modules.app.utils;

import io.swagger.models.auth.In;

/**
 * @Author: Luo
 * @Date: 2019/12/5 17:18
 */
public interface ChargePayRecordConstant {

    interface PayStatus{
       Integer PAY_OK = 1; //支付成功过
       Integer WILL_PAY = 0; //待支付状态
       Integer CANCEL =-1; //用户已取消
    }

    interface PayChannel {
        int ZHIFUBAO = 1;// 支付宝
        int APPLE = 2;// 苹果内购
        int WEIXIN = 3;// 微信
        int SYSTEM_COIN = 4;// 系统充值
        int SYSTEM_REDUCE = 5;// 系统扣除
    }

    interface CommonStatus {
        int NORMAL = 1;
        int ERROR = 0;
    }

    interface AliPayStatus {
        String success = "TRADE_SUCCESS";// 交易支付成功
        String wait = "WAIT_BUYER_PAY";// 交易创建，等待买家付款
        String close = "TRADE_CLOSED";// 未付款交易超时关闭，或支付完成后全额退款
        String finished = "TRADE_FINISHED";// 交易结束，不可退款
    }
}
